﻿<Application x:Class="ScrumTable.UI.View.WinTouch.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib" xmlns:Converter="clr-namespace:ScrumTable.UI.View.Converter;assembly=ScrumTable.UI.View" xmlns:CustomControl="clr-namespace:ScrumTable.UI.View.WinTouch.CustomControl" xmlns:Controls="clr-namespace:Microsoft.Surface.Presentation.Controls;assembly=Microsoft.Surface.Presentation" xmlns:UserControls="clr-namespace:ScrumTable.UI.View.WinTouch.UserControls" xmlns:Presentation="clr-namespace:Microsoft.Surface.Presentation;assembly=Microsoft.Surface.Presentation">
    <Application.Resources>
        <ResourceDictionary>

            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/ScrumTable.UI.View;component/ScrumTable.xaml"/>
                <ResourceDictionary Source="Resources\StyleRadioToButton.xaml"/>
                <ResourceDictionary Source="Resources\RoundedButton.xaml"/>
                <ResourceDictionary Source="Resources\StyleSurfaceButton.xaml"/>
                <ResourceDictionary Source="Resources\StyleScrollViewer.xaml"/>
                <ResourceDictionary Source="Resources\StyleListBox.xaml"/>
                <ResourceDictionary Source="Resources\StyleScrollBar.xaml"/>
                <ResourceDictionary Source="Resources\StyleComboBoxEdit.xaml"/>
                <ResourceDictionary Source="Resources\StyleComboBox.xaml"/>
                <ResourceDictionary Source="Resources\StyleDatePicker.xaml"/>
                <ResourceDictionary Source="Resources\StyleFeedbackButton.xaml"/>
                <ResourceDictionary Source="Resources\StyleInkCanvas.xaml"/>
                <ResourceDictionary Source="Resources\StyleCalendar.xaml"/>                
            </ResourceDictionary.MergedDictionaries>


            
            <system:String x:Key="dummy">dummy</system:String>
            
            <!--Converters-->
            <Converter:ConverterBoolVisibility x:Key="ConverterBoolToVisibility"/>



            <Converter:ConverterContentOrRessourceImage x:Key="ImageSourceConverter"/>
            <Converter:ConverterContentOrRessourceImageToUri x:Key="ImageSourceConverterUri"/>
            <Converter:CalcConverter CalcType="Add" ValueRight="50" x:Key="AddScrollBarMargin"/>
            <Converter:CalcConverter CalcType="Multi" ValueRight="0.5" x:Key="CalcHalf"/>
            <Converter:ConverterBoolVisibility x:Key="DefaultVisibilityConverter"/>

            <RadialGradientBrush x:Key="disabledMask">
                <RadialGradientBrush.GradientStops>
                    <GradientStop Color="#88000000" Offset="0" />
                    <GradientStop Color="#66000000" Offset="0.5" />
                    <GradientStop Color="#44000000" Offset="1" />
                </RadialGradientBrush.GradientStops>
            </RadialGradientBrush>


            <SolidColorBrush x:Key="enabledMask" Color="#FF000000"/>

            <LinearGradientBrush  x:Key="disabledMaskLinar" StartPoint="0, 0.5" EndPoint="1, .5">
                <LinearGradientBrush.GradientStops>
                    <GradientStop Color="#00000000" Offset="0" />
                    <GradientStop Color="#88000000" Offset="0.4" />
                    <GradientStop Color="#88000000" Offset=".6" />
                    <GradientStop Color="#00000000" Offset="1" />
                </LinearGradientBrush.GradientStops>
            </LinearGradientBrush>
            
            <ImageBrush x:Key="IconAbout" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/about.png"/>
                        
            
            <ImageBrush x:Key="IconScrumTableStartButtonLeft" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/toolbar_open_button_left.png"/>
            <ImageBrush x:Key="IconScrumTableStartButtonRight" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/toolbar_open_button_right.png"/>



            <ImageBrush x:Key="IconOpenFile" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/openfile.png"/>
            <ImageBrush x:Key="IconNewFile" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/iconFileAdd.png"/>
            <ImageBrush x:Key="IconAdd" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/add.png"/>
            <ImageBrush x:Key="IconDelete" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/delete.png"/>
            <ImageBrush x:Key="IconCheck" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/check.png"/>
            <ImageBrush x:Key="IconFullScreen" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/fit_to_size.png"/>
            
            
            <ImageBrush x:Key="IconAddUserStory" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/addStory.png"/>            
            <ImageBrush x:Key="IconAddTask" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/addTask.png"/>
            <ImageBrush x:Key="IconUserStory" Stretch="Fill" AlignmentX="Center"  AlignmentY="Top" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/userstory.png"/>
            <ImageBrush x:Key="IconAddBug" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/addBug.png"/>
            <ImageBrush x:Key="IconUserStoryVerify" Stretch="Fill" AlignmentX="Center"  AlignmentY="Top" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Verify.png"/>            
            <VisualBrush x:Key="IconDropOk" Stretch="Uniform" AlignmentX="Center"  AlignmentY="Center" Opacity="0.3">
                <VisualBrush.Visual>
                    <Canvas>
                        <Path Fill="#FF39B54A">
                            <Path.Data>
                                <EllipseGeometry RadiusX="38" RadiusY="38" Center="38,38" />
                            </Path.Data>
                        </Path>
                        <Path Fill="#FFFFFFFF" Data="F1 M24.67,33.25L35.753,44.333 53.17,22.167 57.92,26.917 35.753,53.833 19.92,38 24.67,33.25z" />
                    </Canvas>
                </VisualBrush.Visual>
            </VisualBrush>
            <VisualBrush x:Key="IconDropNOkReason" Stretch="Uniform" AlignmentX="Center"  AlignmentY="Center" Opacity="0.3">
                <VisualBrush.Visual>
                    <Canvas>
                        <Path Fill="#FFFFF200">
                            <Path.Data>
                                <EllipseGeometry RadiusX="38" RadiusY="38" Center="38,38" />
                            </Path.Data>
                        </Path>
                        <Path Fill="#FFFFFFFF" Data="F1 M26.917,22.167L38,33.25 49.083,22.167 53.833,26.917 42.75,38 53.833,49.084 49.084,53.834 38,42.75 26.917,53.834 22.167,49.084 33.25,38 22.167,26.917 26.917,22.167z" />
                    </Canvas>
                </VisualBrush.Visual>
            </VisualBrush>
            <VisualBrush x:Key="IconDropNok" Stretch="Uniform" AlignmentX="Center"  AlignmentY="Center" Opacity="0.3">
                <VisualBrush.Visual>
                    <Canvas>
                        <Path Fill="#FFC52B1C">
                            <Path.Data>
                                <EllipseGeometry RadiusX="38" RadiusY="38" Center="38,38" />
                            </Path.Data>
                        </Path>
                        <Line X1="17.31" Y1="58.009" X2="57.619" Y2="18.252" Fill="#FF000000" Stroke="#FFFFFFFF" StrokeThickness="12" />
                    </Canvas>
                </VisualBrush.Visual>
            </VisualBrush>
            <VisualBrush x:Key="IconDropNOkReason_Save" Stretch="Uniform" AlignmentX="Center"  AlignmentY="Center" Opacity="0.3">
                <VisualBrush.Visual>
                    <Canvas>
                        <Path Fill="#FF00A8DE">
                            <Path.Data>
                                <EllipseGeometry RadiusX="38" RadiusY="38" Center="38,38" />
                            </Path.Data>
                        </Path>
                        <Path Fill="#FFFFFFFF" Data="F1 M37.92,20.583C42.91,20.583,47.411,22.682,50.586,26.045L50.586,17.416 55.336,22.166 55.336,34.834 42.67,34.834 37.92,30.084 46.772,30.084C44.597,27.654 41.438,26.125 37.92,26.125 31.899,26.125 26.924,30.607 26.149,36.416L20.574,36.416C21.374,27.538,28.835,20.583,37.92,20.583z M37.92,49.875C43.941,49.875,48.916,45.393,49.691,39.584L55.266,39.584C54.466,48.461 47.005,55.416 37.92,55.416 32.929,55.416 28.429,53.316 25.253,49.953L25.253,58.584 20.503,53.834 20.503,41.166 33.17,41.166 37.92,45.916 29.069,45.916C31.243,48.346,34.403,49.875,37.92,49.875z" />
                    </Canvas>
                </VisualBrush.Visual>
            </VisualBrush>
            
            <ImageBrush x:Key="IconBug" Stretch="Fill" AlignmentX="Center"  AlignmentY="Top" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/bug.png"/>
            <ImageBrush x:Key="IconBugSeverity" Stretch="Fill" AlignmentX="Center"  AlignmentY="Top" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/bugseverity.png"/>
            
            <ImageBrush x:Key="IconTask" Stretch="Fill" AlignmentX="Center"  AlignmentY="Top" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/task.png"/>
            <ImageBrush x:Key="IconPlus" Stretch="Fill" AlignmentX="Center"  AlignmentY="Top" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/plus.png"/>

            <ImageBrush x:Key="IconAttachment" Stretch="Fill" AlignmentX="Center"  AlignmentY="Top" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/paperclip.png"/>
            <ImageBrush x:Key="IconAddAttachment" Stretch="Fill" AlignmentX="Center"  AlignmentY="Top" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/AddAttachment.png"/>
            <ImageBrush x:Key="IconDeleteAttachment" Stretch="Fill" AlignmentX="Center"  AlignmentY="Top" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/DeleteAttachment.png"/>
            
            <ImageBrush x:Key="Generate" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/generate.png"/>
            <ImageBrush x:Key="Keyboard" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/keyboard.png"/>
            <ImageBrush x:Key="IconForbidden" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/forbidden_small.png"/>

            
            
            <!--States-->
            <ImageBrush x:Key="StateVerify" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/State/Verify.png"/>
            <ImageBrush x:Key="StateClosed" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/State/Closed.png"/>
            <ImageBrush x:Key="StateActive" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/State/Active.png"/>
            <ImageBrush x:Key="StateInProgress" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/State/InProgress.png"/>
            <ImageBrush x:Key="StateRemoved" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/State/Removed.png"/>
            

            <!--Menu-->            
            <ImageBrush x:Key="MenuIconNext"  Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/next.png"/>
            <ImageBrush x:Key="MenuIconSetting"  Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/settings.png"/>
            <ImageBrush x:Key="MenuIconHome"  Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/btn_home.png"/>
            <ImageBrush x:Key="MenuIconHomeDisabled"  Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/btn_home_disabled.png"/>


            <!--W8  Icons-->

            <ImageBrush x:Key="W8IconWarning"  Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/ico_warning.png"/>
            <ImageBrush x:Key="W8IconMoreCards"  Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/btn_More_Cards.png"/>
            <ImageBrush x:Key="W8IconBack"  Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/btn_Back.png"/>
            <ImageBrush x:Key="W8IconClose"  Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/btn_Close.png"/>
            <ImageBrush x:Key="W8IconExposeCard"  Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/btn_Expose_Cards.png"/>
            <ImageBrush x:Key="W8IconReplay"  Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/btn_Replay.png"/>
            

            

            <!--Menu Config-->
            <ImageBrush x:Key="MenuIconConfigUser" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/settings.png"/>
            <ImageBrush x:Key="MenuIconConfigMember" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Members.png"/>
            <ImageBrush x:Key="MenuIconConfigConfig"  Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/ConfigSetting.png"/>
            
            
            <!--Menu Daily Scrum-->
            

            <!-- Menu Project planning-->
            
            
            <!--Menu Sprint-->
            
            
            <!--Menu Retro-->
            
            
            
            

            <ImageBrush x:Key="MenuBackGround"  Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="{Binding Source={StaticResource dummy}, Mode=OneTime,  Converter={StaticResource ImageSourceConverter}, ConverterParameter='pack://application:,,,/ScrumTable.UI.View;component/Resources/ScrumTable_Header.jpg'}"/>            
            <ImageBrush x:Key="ScrumMapBackground" Stretch="Fill" AlignmentX="Center" AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Scrum_Map_Background.jpg"/>
            <ImageBrush x:Key="ScrumMapForeground" AlignmentX="Center" AlignmentY="Center" Stretch="Uniform" ImageSource="{Binding Source={StaticResource dummy}, Mode=OneTime,  Converter={StaticResource ImageSourceConverter}, ConverterParameter='pack://application:,,,/ScrumTable.UI.View;component/Resources/Branded/Scrum_Map_Foreground.png'}"/>
            <ImageBrush x:Key="AboutBackground" Stretch="None" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/about_dialog.jpg"/>
            



            <BitmapImage x:Key="BrandedLogo" UriSource="{Binding Source={StaticResource dummy}, Mode=OneTime,  Converter={StaticResource ImageSourceConverterUri}, ConverterParameter='pack://application:,,,/ScrumTable.UI.View;component/Resources/Branded/Logo_Branded.png'}"/>
            <BitmapImage x:Key="BrandedLogoWithoutText" UriSource="{Binding Source={StaticResource dummy}, Mode=OneTime,  Converter={StaticResource ImageSourceConverterUri}, ConverterParameter='pack://application:,,,/ScrumTable.UI.View;component/Resources/Branded/Logo_Branded_without_text.png'}"/>
            <BitmapImage x:Key="HSRLogo" UriSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/HSR_Logo.png"/>            
            <BitmapImage x:Key="ExeLogo" UriSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/overview_button.png"/>
            <ImageBrush x:Key="IndividualBackground" Stretch="UniformToFill"  AlignmentX="Left"  AlignmentY="Top" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Individual_Report_Background.jpg"/>

            
            <ImageBrush x:Key="ScreenConfiguration" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Configuration_Background.jpg"/>
            <ImageBrush x:Key="StartBackground" Stretch="Uniform" AlignmentX="Center"  AlignmentY="Center"  ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/scrum_logo.png"/>
            <BitmapImage  x:Key="StartBackgroundImageSource"  UriSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/scrum_logo.png"/>

            <ImageBrush x:Key="MoveLeft" Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/moveleft.png"/>
            <ImageBrush x:Key="MoveRight" Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/moveright.png"/>


            <ImageBrush x:Key="ItemClosed" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/item_close.png"/>
            <ImageBrush x:Key="ItemClosedScatteredView" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/icon_close_scatteredview.png"/>
            <ImageBrush x:Key="ItemOpen" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/item_open.png"/>

            <ImageBrush x:Key="IconOpenUndo" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/openundo.png"/>
            <ImageBrush x:Key="IconDeleteUndoStack" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/deleteUndoStack.png"/>
            <ImageBrush x:Key="IconUndo" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/undo.png"/>
            <ImageBrush x:Key="IconRedo" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/redo.png"/>
            <ImageBrush x:Key="IconRotate" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/rotate.png"/>
            <ImageBrush x:Key="IconMembers" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Members.png"/>
            <ImageBrush x:Key="IconLogOut" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/logout.png"/>
            <ImageBrush x:Key="IconScrumMap" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/ScrumMap.png"/>
            <ImageBrush x:Key="IconGlass" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/glass.png"/>
            <ImageBrush x:Key="IconFilter" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/filter.png"/>
            <ImageBrush x:Key="IconFilterState" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/filter_state.png"/>
            
            <ImageBrush x:Key="IconMemberOnline" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/onlinemember.png"/>
            <ImageBrush x:Key="IconChangeLoginMember" Stretch="Fill" AlignmentX="Center"  AlignmentY="Center" Opacity="1" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/ChangeLoginMember.png"/>
            
            <!-- review retro-->
            <ImageBrush x:Key="ReviewBackground" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Review_Retro_Background.jpg"/>
            

            <!--Icons-->
            
            <!--ScrumMap Icons-->


            <ImageBrush x:Key="IconScrumMapIndividual" Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Icons/icon_individual_report.png"/>
            <ImageBrush x:Key="IconScrumMapScrumBoard" Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Icons/icon_scrum_board.png"/>
            <ImageBrush x:Key="IconScrumMapScrumPoker" Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Icons/icon_scrum_poker.png"/>
            <ImageBrush x:Key="IconScrumMapSprintOverview" Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Icons/icon_sprint_overview.png"/>
            <ImageBrush x:Key="IconScrumMapSprintPlanning" Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Icons/icon_sprint_planning.png"/>
            <ImageBrush x:Key="IconScrumMapRanking" Stretch="None"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Icons/icon_stack_ranking.png"/>
            <ImageBrush x:Key="IconScrumMapStoryBoard" Stretch="None"  AlignmentX="Left"  AlignmentY="Top" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Icons/icon_story_board.png"/>
            <ImageBrush x:Key="IconScrumMapTaskBoard" Stretch="None"  AlignmentX="Left"  AlignmentY="Top" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Icons/icon_task_board.png"/>
            
            <!--/ScrumMap Icons-->

            <ImageBrush x:Key="IconStackRanking" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/StackRanking.png"/>
            <ImageBrush x:Key="IconProjectPlanningIterations" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/sprint_backlog.png"/>
            <ImageBrush x:Key="IconScrumBoard" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/scrumchart.png"/>
            <ImageBrush x:Key="IconStoryBoard" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/storychart.png"/>
            <ImageBrush x:Key="IconTaskBoard" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/taskchart.png"/>
            <ImageBrush x:Key="IconBurnDown" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/BurnDown.png"/>
            <ImageBrush x:Key="IconBurnRate" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/BurnRate.png"/>
            <ImageBrush x:Key="IconSprintPlanning" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/sprint_planning.png"/>

            <ImageBrush x:Key="IconEdit" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/edit.png"/>
            <ImageBrush x:Key="IconNoMember" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/NoMember.png"/>
            <ImageBrush x:Key="IconWarningSmall" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/warning_Small.png"/>
 
            <ImageBrush x:Key="IconClose" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Close.png"/>
            <VisualBrush x:Key="IconError" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center">
                <VisualBrush.Visual>
                    <Canvas>
                        <Path Fill="#FFA71E22" Data="F1 M26.917,22.167L38,33.25 49.083,22.167 53.833,26.917 42.75,38 53.833,49.084 49.084,53.834 38,42.75 26.917,53.834 22.167,49.084 33.25,38 22.167,26.917 26.917,22.167z" />
                    </Canvas>
                </VisualBrush.Visual>
            </VisualBrush>
            
            <ImageBrush x:Key="InkLinePencil" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/strokepencil.png"/>
            <ImageBrush x:Key="InkStrokepencil" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/pencilcurve.png"/>
            <ImageBrush x:Key="InkRectlange" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/Rectlange.png"/>
            <ImageBrush x:Key="InkSave" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/save.png"/>
            <ImageBrush x:Key="InkSaveAs" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/save_as.png"/>
            <ImageBrush x:Key="InkEreaser" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/eraser.png"/>
            <ImageBrush x:Key="InkText" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/painttext.png"/>
            <ImageBrush x:Key="InkSelect" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/select.png"/>
            
            <!--HTML Text Editor-->
            <ImageBrush x:Key="Iconcharactergrowfont" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/charactergrowfont.png"/>
            <ImageBrush x:Key="Iconcharactershrinkfont" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/charactershrinkfont.png"/>
            <ImageBrush x:Key="Iconeditcopy" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/editcopy.png"/>
            <ImageBrush x:Key="Iconeditcut" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/editcut.png"/>
            <ImageBrush x:Key="Iconeditpaste" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/editpaste.png"/>
            <ImageBrush x:Key="Iconeditredo" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/editredo.png"/>
            <ImageBrush x:Key="Iconeditundo" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/editundo.png"/>
            <ImageBrush x:Key="Iconfileopen" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/fileopen.png"/>
            <ImageBrush x:Key="Iconfilesave" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/filesave.png"/>
            <ImageBrush x:Key="Iconlistbullets" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/listbullets.png"/>
            <ImageBrush x:Key="Iconlistnumbering" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/listnumbering.png"/>
            <ImageBrush x:Key="Iconparagraphcenterjustify" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/paragraphcenterjustify.png"/>
            <ImageBrush x:Key="Iconparagraphdecreaseindentation" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/paragraphdecreaseindentation.png"/>
            <ImageBrush x:Key="Iconparagraphfulljustify" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/paragraphfulljustify.png"/>
            <ImageBrush x:Key="Iconparagraphincreaseindentation" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/paragraphincreaseindentation.png"/>
            <ImageBrush x:Key="Iconparagraphleftjustify" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/paragraphleftjustify.png"/>
            <ImageBrush x:Key="Iconparagraphrightjustify" Stretch="Fill"  AlignmentX="Center"  AlignmentY="Center" ImageSource="pack://application:,,,/ScrumTable.UI.View;component/Resources/EditorImages/paragraphrightjustify.png"/>


           <Style TargetType="{x:Type TextBox}" x:Key="BaseTextStyle">
                <Setter Property="AllowDrop" Value="false"/>
                <Setter Property="MinHeight" Value="10"/>
                <Setter Property="FontSize" Value="12"/>
                <Setter Property="BorderThickness" Value="0.5"/>                
                <EventSetter Event="MouseDown" Handler="OnMouseDown"/>
                <EventSetter Event="TouchDown" Handler="OnTouchDown"/>
                <EventSetter Event="GotFocus" Handler="OnGotFocus"/>                       
            </Style>

            <Style TargetType="{x:Type DatePickerTextBox}">  
                <EventSetter Event="MouseDown" Handler="OnMouseDown"/>
                <EventSetter Event="TouchDown" Handler="OnTouchDown"/>
                <EventSetter Event="GotFocus" Handler="OnGotFocus"/>
            </Style>

            

            <Style TargetType="{x:Type TextBox}" BasedOn="{StaticResource BaseTextStyle}"/>
            <Style TargetType="{x:Type CustomControl:ValidateTextBox}" BasedOn="{StaticResource BaseTextStyle}"/>
            <Style TargetType="{x:Type CustomControl:DigitBox}" BasedOn="{StaticResource BaseTextStyle}">
                <Setter Property="KeyboardLayout" Value="Numeric"/>
            </Style>

            <Style TargetType="{x:Type Controls:SurfaceTextBox}">
                <Setter Property="AllowDrop" Value="false"/>
                <Setter Property="MinHeight" Value="10"/>
                <Setter Property="FontSize" Value="12"/>     
                <EventSetter Event="GotFocus" Handler="OnGotFocus"/>
                <Setter Property="BorderThickness" Value="0.5"/>
            </Style>


            <Style TargetType="{x:Type PasswordBox}">
                <Setter Property="AllowDrop" Value="false"/>
                <EventSetter Event="MouseDown" Handler="OnMouseDown"/>
                <EventSetter Event="TouchDown" Handler="OnTouchDown"/>
                <EventSetter Event="GotFocus" Handler="OnGotFocus"/>                
            </Style>


            <Style TargetType="{x:Type Controls:SurfacePasswordBox}">
                <Setter Property="AllowDrop" Value="false"/>                
                <EventSetter Event="MouseDown" Handler="OnMouseDown"/>
                <EventSetter Event="TouchDown" Handler="OnTouchDown"/>
                <EventSetter Event="GotFocus" Handler="OnGotFocus"/>
                <Setter Property="BorderThickness" Value="0.5"/>
            </Style>

            <Style TargetType="{x:Type RichTextBox}">
                <Setter Property="AllowDrop" Value="false"/>
                <Setter Property="Background" Value="White"/>
                <Setter Property="Foreground" Value="Black"/>
                <EventSetter Event="MouseDown" Handler="OnMouseDown"/>
                <EventSetter Event="TouchDown" Handler="OnTouchDown"/>
                <EventSetter Event="GotFocus" Handler="OnGotFocus"/>
                <Setter Property="BorderThickness" Value="0.5"/>
            </Style>

            <Style  TargetType="{x:Type GroupBox}">
                <Setter Property="BorderThickness" Value="0" />
                <Setter Property="Margin" Value="2" />
                <Setter Property="HeaderTemplate">
                    <Setter.Value>
                        <DataTemplate>
                            <TextBlock Text="{Binding}" Foreground="Black" FontWeight="Bold"/>
                        </DataTemplate>
                    </Setter.Value>
                </Setter>
            </Style>

            <Style TargetType="{x:Type TabItem}">
                <Setter Property="BorderBrush" Value="#D5DFE5"/>
            </Style>

            <Style TargetType="{x:Type TabControl}">
                <Setter Property="BorderBrush" Value="#D5DFE5"/>
            </Style>           

            <Style TargetType="{x:Type Controls:SurfaceCheckBox}">            
                <Setter Property="VerticalAlignment"  Value="Center"/>
                <Setter Property="FontSize"  Value="14"/>
                <Setter Property="Foreground" Value="Black"/>
                <Setter Property="BorderBrush" Value="Black"/>              
            </Style>

            <Style TargetType="{x:Type Controls:SurfaceListBoxItem}">
                <Setter Property="VerticalAlignment"  Value="Center"/>
                <Setter Property="FontSize"  Value="100"/>
                <Setter Property="Foreground" Value="Black"/>
                <Setter Property="BorderBrush" Value="Black"/>
            </Style>
            
             <Style TargetType="{x:Type ComboBox}" BasedOn="{StaticResource SurfaceComboBoxStyleCustom}">
                <Setter Property="AllowDrop" Value="false"/>   
                <Setter Property="HorizontalAlignment"  Value="Stretch"/>                
                <Setter Property="HorizontalContentAlignment"  Value="Left"/>
                <Setter Property="VerticalAlignment"  Value="Stretch"/>                
                <Setter Property="VerticalContentAlignment"  Value="Stretch"/>                                
                <Setter Property="FontSize"  Value="12"/>                
                <Setter Property="FontWeight" Value="Bold"/>
                <Setter Property="ItemTemplate">
                    <Setter.Value>                        
                        <DataTemplate>
                            <TextBlock HorizontalAlignment="Left" FontSize="12"  Height="24" VerticalAlignment="Center">
                                <TextBlock.Text>
                                    <Binding/>
                                </TextBlock.Text>
                            </TextBlock>
                        </DataTemplate>                
                    </Setter.Value>
                </Setter>                
            </Style>

            <Style TargetType="{x:Type Label}">                
                <Setter Property="FontSize" Value="12"/>                
            </Style>

            <Style TargetType="{x:Type Label}" x:Key="DescriptionLabel">
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="FontWeight" Value="Bold"/>
                <Setter Property="FontFamily" Value="Segoe UI"/>
                <Setter Property="VerticalAlignment"  Value="Center"/>
            </Style>

            <Style TargetType="{x:Type Controls:SurfaceButton}" x:Key="DescriptionButton">
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="FontWeight" Value="Bold"/>
                <Setter Property="FontFamily" Value="Segoe UI"/>
                <Setter Property="VerticalAlignment"  Value="Center"/>
            </Style>

            <Style TargetType="{x:Type Label}" x:Key="ContentTitleLabel" BasedOn="{StaticResource DescriptionLabel}">
                <Setter Property="FontSize" Value="12"/>              
               <Setter Property="Padding" Value="0,5,5,5"/>              
            </Style>

            <Style TargetType="{x:Type TextBlock}" x:Key="DescriptionTextBlock">
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="FontWeight" Value="Bold"/>
                <Setter Property="FontFamily" Value="Segoe UI"/>
                <Setter Property="VerticalAlignment"  Value="Center"/>
            </Style>


            <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DescriptionTextBlock}" x:Key="TitleTextBlock">
                <Setter Property="FontSize" Value="17"/>                
            </Style>

            <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource DescriptionTextBlock}" x:Key="NormalTextBlock">
                <Setter Property="FontSize" Value="12"/>
                <Setter Property="FontWeight" Value="Normal"/>
            </Style>


            <ControlTemplate x:Key="ErrorTemplate">
                <Grid  Background="Red">
                    <Border BorderBrush="Red" BorderThickness="5">
                        <AdornerDecorator></AdornerDecorator>
                    </Border>
                </Grid>
            </ControlTemplate>
            
            
            <Style x:Key="TextBox" TargetType="TextBox">
                <Setter Property="Validation.ErrorTemplate" Value="{StaticResource ErrorTemplate}"/>
                
                <Style.Triggers>
                    <Trigger Property="Validation.HasError" Value="True">
                        <Setter Property="Background" Value="Red"/>
                    </Trigger>
                </Style.Triggers>
            </Style>

            
            
 
            <Style TargetType="{x:Type Image}">
                <Setter Property="RenderOptions.BitmapScalingMode" Value="HighQuality" />
            </Style>


            <Style TargetType="{x:Type TabItem}" x:Key="TabItemClear" BasedOn="{StaticResource {x:Type TabItem}}">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type TabItem}">
                            <StackPanel Orientation="Horizontal">                                
                                <ContentPresenter IsHitTestVisible="True" x:Name="ContentSite" Margin="5,2,5,2" ContentSource="Header" HorizontalAlignment="Center" VerticalAlignment="Center"  />                                
                            </StackPanel>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>           
            </Style>


            <Style TargetType="{x:Type UserControls:ScrumItemControl}" x:Key="ScrumItemControlSelection">
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsPlacedOnScrumPoker}" Value="true" >
                        <Setter Property="Effect">
                            <Setter.Value>
                                <DropShadowEffect RenderingBias="Performance" BlurRadius="10"   ShadowDepth="5"  Direction="-90" Color="#55000000"  ></DropShadowEffect>
                            </Setter.Value>
                        </Setter>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <!--Styles for Tiles-->
            <Style TargetType="{x:Type TextBlock}" x:Key="StyleLabel">
                <Style.Setters>
                    <Setter Property="HorizontalAlignment" Value="Left"/>
                    <Setter Property="VerticalAlignment" Value="Bottom"/>
                    <Setter Property="FontSize" Value="12"/>
                    <Setter Property="FontWeight" Value="Normal"/>
                    <Setter Property="Foreground" Value="White"/>
                    <Setter Property="Margin" Value="9,0,0,9"/>
                </Style.Setters>
            </Style>



            <Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource StyleLabel}" x:Key="StyleLabelBig">
                <Style.Setters>
                    <Setter Property="HorizontalAlignment" Value="Left"/>
                    <Setter Property="VerticalAlignment" Value="Center"/>
                    <Setter Property="FontSize" Value="22"/>
                    <Setter Property="Margin" Value="100,0,20,0"/>
                    <Setter Property="TextWrapping" Value="Wrap"/>
                </Style.Setters>
            </Style>

            <!--change system colors-->
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.BulletBrushKey}" Color="Black" />            
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.SelectedTextBackgroundBrushKey}" Color="LightBlue" />
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.TextBoxForegroundBrushKey}" Color="Black" />
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.TextBoxBackgroundBrushKey}" Color="White" />
            
            

            <!-- If a input (text, password...) field is selected  show it in different color -->
            
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.TextBoxBorderFocusedBrushKey}" Color="Black" />
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.TextBoxBorderBrushKey}" Color="Black" />
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.TextBoxBorderDisabledBrushKey}" Color="Black" />
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.TextBoxBackgroundFocusedBrushKey}" Color="White" />
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.TextBoxForegroundFocusedBrushKey}" Color="Black" />
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.TextBoxForegroundFocusedColorKey}" Color="Black" />
            
            <!--                        
            <SolidColorBrush x:Key="{x:Static Presentation:SurfaceColors.TextBoxForegroundFocusedBrushKey}" Color="Black" />
            
            -->

            


       
            
        </ResourceDictionary>     
        
        
    </Application.Resources>
</Application>

